'Declaration
Public Overloads Function SearchText( _ ByVal Text As String, _ ByVal Occurrence As Integer, _ ByVal CaseSensitive As Boolean, _ ByVal WholeWords As Boolean, _ ByVal OrdinalComparison As Boolean, _ ByRef BoundingBoxes() As RectangleF _ ) As Boolean
public bool SearchText( string Text, int Occurrence, bool CaseSensitive, bool WholeWords, bool OrdinalComparison, ref RectangleF[] BoundingBoxes )
public function SearchText( Text: String; Occurrence: Integer; CaseSensitive: Boolean; WholeWords: Boolean; OrdinalComparison: Boolean; var BoundingBoxes: RectangleFarray of ): Boolean;
public function SearchText( Text : String, Occurrence : int, CaseSensitive : boolean, WholeWords : boolean, OrdinalComparison : boolean, BoundingBoxes : RectangleF[] ) : boolean;
public: bool SearchText( string* Text, int Occurrence, bool CaseSensitive, bool WholeWords, bool OrdinalComparison, ref RectangleF[]* BoundingBoxes )
public: bool SearchText( String^ Text, int Occurrence, bool CaseSensitive, bool WholeWords, bool OrdinalComparison, array<RectangleF>^% BoundingBoxes )
Parameters
- Text
- The text expression to search for.
- Occurrence
- The occurrence (rank) of the searched expression on the current page. Set the occurrence to 1 if you are searching for the first occurrence, set it to 2 for the second etc.
Rank equal to 0 is not accepted, it will always be converted to 1. Please note that the occurrence (rank) is always related to the current page.
- CaseSensitive
- Set this parameter to true if you want to apply case-sensitive search, otherwise set it to false.
- WholeWords
- Set this parameter to true if you want to search for the whole words only, otherwise set it to false.
- OrdinalComparison
- Set this parameter to true if you want to search applying the ordinal (binary) sort rules, otherwise set it to false. An ordinal comparison compares strictly on the numeric character values, that means it does not respect accents.
- BoundingBoxes
- Output parameter. If the searched expression has been found, this parameter will output array of rectangle areas that surround the occurrence in inches.